TEX = $(wildcard *.tex) ${wildcard sections/*.tex}
BIB = cs267Bib.bib
FIGS = $(wildcard figures/*.tex)

cs267projectreport.pdf: $(TEX) $(BIB) $(FIGS)
	pdflatex cs267projectreport
	bibtex cs267projectreport
	pdflatex cs267projectreport
	pdflatex cs267projectreport

clean:
	rm -f *.aux *.bbl *.blg *.log *.out cs267projectreport.pdf
